<template>
<div class="Home">
    <HomeNav></HomeNav>
    <button @click="isshowceter=false">是否显示center</button>
    <center v-if="isshowceter"></center>
</div>
</template>
<script>
import HomeNav from './HomeNav.vue'
import Center from './Center.vue'
export default {
    components:{
        HomeNav,
        Center
    },
    data() {
        return {
            isshowceter:true
        }
    }
}
</script>
<style scoped lang="less">

</style>